package com.szzg10.pattern.observer;

import java.util.Observable;

public class ObservableImpl extends Observable {

	private int i;
	
	public void change() {
		setChanged();
		notifyObservers();
	}

	//---getter and setter---
	public int getI() {
		return i;
	}

	public void setI(int i) {
		this.i = i;
	}
	
}
